package _6_Struct._6_3_composite.transparency;

import java.util.Enumeration;

public class Leaf implements Component {

    @Override
    public Composite getComposite() {
        return null;
    }

    @Override
    public void bussinessOpt1() {
        System.out.println("leaf");
    }

    @Override
    public void add(Component component) {
    }

    @Override
    public void remove(Component component) {
    }

    @Override
    public Enumeration<Component> components() {
        return null;
    }
}
